Skip to content

Conversation

@deepika-u
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 12, 2025

Test Results

 3 015 files  ±0   3 015 suites  ±0   2h 8m 24s ⏱️ - 7m 54s
 8 258 tests ±0   8 009 ✅  - 1  248 💤 ±0  1 ❌ +1 
23 598 runs  ±0  22 806 ✅  - 1  791 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 12a6159. ± Comparison against base commit 764a0b7.

♻️ This comment has been updated with latest results.

@akurtakov
Copy link
Member

@deepika-u Have you looked into what would cause to not use this method in console? It is what I would rather see be done rather than this push/revert.

@deepika-u deepika-u force-pushed the deprecated_methods_4_2 branch from 274f3ba to 089ee6f Compare November 12, 2025 14:17
@deepika-u
Copy link
Contributor Author

@akurtakov
Instead of calling the deprecated getVisibleLinesInViewport method, the line count can be computed inline within the caller, as I have access to the fTextWidget object. However, the limitation noted in the deprecation still applies - results may be inaccurate when the widget uses variable line heights. I will continue investigating potential approaches. Do you have any suggestions on how this could be achieved?

@akurtakov
Copy link
Member

I haven't found the time to look into it at all. It's the general approach how things should happen in this case that I pointed out.

@deepika-u deepika-u force-pushed the deprecated_methods_4_2 branch from 089ee6f to a50012a Compare November 13, 2025 10:00
@vogella
Copy link
Contributor

vogella commented Jan 7, 2026

Is this change still relevant?

@deepika-u
Copy link
Contributor Author

@vogella
From my further investigation, there is no replacement yet for getVisibleLinesInViewport() so better remove the deprecation details is a meaningful way to proceed till we have the equivalent ready.

Thanks for checking.

@deepika-u deepika-u force-pushed the deprecated_methods_4_2 branch from a50012a to 2325b16 Compare January 7, 2026 10:28
@deepika-u deepika-u force-pushed the deprecated_methods_4_2 branch from 2325b16 to 12a6159 Compare January 7, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants